set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake"
  CACHE STRING "Vcpkg toolchain file")
set(VCPKG_TARGET_TRIPLET "x64-mingw-dynamic" CACHE STRING "Vcpkg target triplet") 
 
cmake_minimum_required(VERSION 3.10)
project(Demo)

include_directories(src)
find_package(GTest CONFIG REQUIRED)

add_executable(test_robot_cleaner test/test_robot_cleaner.cpp src/robot_cleaner.cpp)
target_link_libraries(test_robot_cleaner PRIVATE GTest::gtest GTest::gtest_main)

enable_testing()

add_test(NAME TEST_RobotCleaner COMMAND test_robot_cleaner)
